package com.qp.basics.estivate.jdbc.dao;

/**
 * 这个是对应某个实体类影射的解析结果。
 * 
 * @author Ma PengJu
 *
 */
public class EntityTypeMapping {

	/**
	 * 实体类。
	 */
	private Class<?> entityType;
	/**
	 * 表名。
	 */
	private String tableName;
	/**
	 * 表的数据库描述。
	 */
	private DatabaseTable databaseTable;
	/**
	 * 属性的影射关系。
	 */
	private PropertyMapping[] propertyMappings;

	public Class<?> getEntityType() {
		return entityType;
	}

	public void setEntityType(Class<?> entityType) {
		this.entityType = entityType;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public PropertyMapping[] getPropertyMappings() {
		return propertyMappings;
	}

	public void setPropertyMappings(PropertyMapping[] propertyMappings) {
		this.propertyMappings = propertyMappings;
	}

	public DatabaseTable getDatabaseTable() {
		return databaseTable;
	}

	public void setDatabaseTable(DatabaseTable databaseTable) {
		this.databaseTable = databaseTable;
	}

}
